using System;
using System.ComponentModel.DataAnnotations;

namespace SIOGDE.AccesoDatos.Entidades
{
 public partial class SmtpConfig
 {
     public SmtpConfig()
     {
     }
     //#region foreign Keys

     //public virtual int FuerzaId_FK {get;set;}
     //private Fuerza FuerzaId_obj ;
     //public virtual Fuerza Fuerza
     // {
     //     get { return FuerzaId_obj; }
     //     set {
     //           FuerzaId_obj = value;
     //           if (FuerzaId_obj != null) FuerzaId_FK = FuerzaId_obj.Id; 
     //     }
     // }
     //#endregion
     public virtual int   Id { get; set;}

     [StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "HostName")]
     public virtual string   HostName { get; set;}

     [StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "DefaultUserName")]
     public virtual string   DefaultUserName { get; set;}

     [StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "DefaultUserPassword")]
     public virtual string   DefaultUserPassword { get; set;}

     [Display(Name = "IsSSLEnabled")]
     public virtual bool   IsSSLEnabled { get; set;}

     [StringLength(255, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "AdministratorEmail")]
     public virtual string   AdministratorEmail { get; set;}
 }
}

